package model;

import java.sql.Date;

public class Pages {
	int page_id;
	int uid;
	String page_name;
	String content;
	String position;
	Date post_on;

	public Pages(int page_id, int uid, String page_name, String content,
			String position, Date post_on) {
		super();
		this.page_id = page_id;
		this.uid = uid;
		this.page_name = page_name;
		this.content = content;
		this.position = position;
		this.post_on = post_on;
	}

	public int getPage_id() {
		return page_id;
	}

	public void setPage_id(int page_id) {
		this.page_id = page_id;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getPage_name() {
		return page_name;
	}

	public void setPage_name(String page_name) {
		this.page_name = page_name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Date getPost_on() {
		return post_on;
	}

	public void setPost_on(Date post_on) {
		this.post_on = post_on;
	}

	@Override
	public String toString() {
		return "Pages [page_id=" + page_id + ", uid=" + uid + ", page_name="
				+ page_name + ", content=" + content + ", position=" + position
				+ ", post_on=" + post_on + "]";
	}

}
